//
//  LeftPanelView.h
//  SocialEngine
//
//  Created by Tan NguyenBa on 9/10/12.
//  Copyright (c) 2012 Home. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LoginState;

@protocol LeftPanelViewDelegate <NSObject>
- (void) closeLeftPanelView;
- (void) openLeftPanelFullScreen;
- (void) closeLeftPanelFullScreen;
- (void) changeFromView:(NSInteger) _iCurrentView toNewView:(NSInteger) _iNewView;
@optional

@end

@interface LeftPanelView : UIView <UITableViewDelegate, UITableViewDataSource, UISearchBarDelegate> {
    //IBOutlet UISearchBar *searchBar;
    //IBOutlet UITableView *tableData;
}

@property (nonatomic, weak) id <LeftPanelViewDelegate> delegate;

@property (nonatomic, strong) UISearchBar *searchBar;
@property (nonatomic, strong) UITableView *m_tableData;

- (void) setLoginState:(LoginState *) _loginState;
- (void) setCurrentView:(NSInteger) _iCurrentView;

@end
